//负责人带出他的直属领导   
let url = $this.$util.getAPI_URL();
let formData=new FormData();
formData.append("assigsId",$this.formModel["systemSelect_1711439399614_qXQ72_ID"]);
url = url.replace("api", "task/getTaskLeader");
$this.$http.post(url,formData).then((res) => {
    if(res.data.code===280){
        console.log(res.data.data)
        let data = res.data.data
        if (data){
            let reviewerNames = data.reviewerName.split(',').map(name => name.trim());
            let uniqueNames = [...new Set(reviewerNames)];
            let finalName = uniqueNames.join(',');

            let reviewerId = data.reviewerId.split(',').map(name => name.trim());
            let uniqueId = [...new Set(reviewerId)];
            let finalId = uniqueId.join(',');

            $this.formModel["systemSelect_1711439400905_v5lzI"] = finalName
            $this.formModel["systemSelect_1711439400905_v5lzI_ID"] = finalId
            document.getElementById("systemSelect_1711439400905_v5lzI_ID").value = data.reviewerId
        }
    }
})